﻿using System.Web.Mvc;

namespace SW.Lite.WebSite.Areas.Master
{
    public class MasterAreaRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "Master";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                "Master_default",
                "Master/{controller}/{action}/{page}",
                new { controller = "Home", action = "Index", page = 1 }
            );
        }
    }
}
